-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove @remix-run/eslint-config dependency #7597
Conversation
|
I think we might need to sync up the |
c3211c6
to
47f4896
Compare
689b23f
to
9e499d4
Compare
This reverts commit 47f4896.
9e499d4
to
518e46d
Compare
For #7056, we want to get out of the opinionated game of managing an ESLint config so we want to remove dependencies on
@remix-run/eslint-config
so it can be deprecated. We simplified the stacks to use a config based on industry recommended configs (remix-run/indie-stack#261, remix-run/blues-stack#215, remix-run/grunge-stack#172).This PR does the same for all the templates, leveraging the same minimal config as we used in the stacks - mostly based on "recommended" presets.
I also added a helper script for us to use in the future. It's tough to fully validate the templates lint properly in the monorepo with the hoisted deps. I added a new
scripts/lint-templates.sh
script that can be run outside the repo and will usecreate-remix
to create an app from each of the local templates in atemp/
dir, install deps, and runnpm run lint
:# In this case, I'm running from a playgrounds/ folder that is a sibling to the remix repo ../remix/scripts/lint-templates.sh [path-to-remix-repo]